package com.kingyun.gpsinspection.purificationservice.common.activiti;


/**
 * Activiti 一些常量
 */
public interface ActivitiConstants {
    //手动赋值处理人
    public static final String MANUAL_PERSON = "manualPerson";

    /**
     * 自动完成人
     */
    public static final String AUTO_COMPLETE_ASSIGN = "robbot";

    /**
     * 人工任务
     */
    public static final String USER_TASK = "user";

    /**
     * 自动任务
     */
    public static final String AUTO_TASK = "auto";

    /**
     * 多实例用户集合名词
     */
    public static final String MUTIL_USERS = "multiInstanceUsers";

    /**
     * 流程办理人分隔符
     */
    public static final String PERON_SEPARATE = ",";

    /**
     * 多任务实例属性
     */
    public static final String MULTI_PROPERTY = "multiInstance";

    public enum BusinessType {
        daily("日常操作"), problem("问题处理"), tour("巡回检查"), maintain("维护保养"), normal("常规操作");

        private BusinessType(String type) {
            this.type = type;
        }

        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

}
